/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package MyCalculator;

import java.awt.*;
import java.awt.Graphics;
import java.awt.event.*;
/**
 *
 * @author fire
 */
public class PlotCanvas extends Canvas {
    public PlotCanvas(){
        setSize(200,200);
        setBackground(Color.WHITE);
    }

    public void paint (int[] xs, int[] ys, int points, Graphics g) {
        g.drawPolyline(ys, xs, points);
    }
}
